package BuyerAgent;

import jade.util.leap.Serializable;

/**
 * This is tree class without price, this class is used buy buyer agent as buyer
 * does not need to store price
 * 
 * @author DUY HAN PHAN
 */
public class Tree implements Serializable {
	private String commonName;
	private String latinName;
	private String category;
	private int quantity;

	/**
	 * @param commonName
	 * @param latinName
	 * @param category
	 * @param quantity
	 */
	public Tree(String commonName, String latinName, String category, int quantity) {
		super();
		this.commonName = commonName;
		this.latinName = latinName;
		this.category = category;
		this.quantity = quantity;
	}

	/**
	 * @return
	 */
	public String getCommonName() {
		return commonName;
	}

	/**
	 * @param commonName
	 */
	public void setCommonName(String commonName) {
		this.commonName = commonName;
	}

	/**
	 * @return
	 */
	public String getLatinName() {
		return latinName;
	}

	/**
	 * @param latinName
	 */
	public void setLatinName(String latinName) {
		this.latinName = latinName;
	}

	/**
	 * @return
	 */
	public String getCategory() {
		return category;
	}

	/**
	 * @param category
	 */
	public void setCategory(String category) {
		this.category = category;
	}

	/**
	 * @return
	 */
	public int getQuantity() {
		return quantity;
	}

	/**
	 * @param quantity
	 */
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
}
